package com.mall.controller;


import com.mall.pojo.GoodsPicturePo;
import com.mall.service.GoodsPictureService;
import com.mall.vo.SysResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 商品图片信息表 前端控制器
 * </p>
 *
 * @author zhangshiqi
 * @since 2020-09-13
 */
@RestController
public class GoodsPictureController {

    @Autowired
    private GoodsPictureService goodsPictureService;

    @RequestMapping("/goodsPicture")
    public SysResult findAll(String userName,Integer pageCurrent){
        return SysResult.success(goodsPictureService.finaAll());
    }

}

